package me.chanjar.weixin.mp.bean.card;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 卡片基类。
 * 
 * @author Debenson
 * @since 0.1
 */
public abstract class AbstractCard implements Serializable {
  private static final long serialVersionUID = -4156587679751214048L;

  @JsonProperty("base_info")
  private BaseInfo baseInfo;

  @JsonProperty("advanced_info")
  private AdvancedInfo advancedInfo;

  /**
   * 卡券基础信息字段
   * 
   * @return
   */
  public BaseInfo getBaseInfo() {
    return baseInfo;
  }

  public void setBaseInfo(BaseInfo baseInfo) {
    this.baseInfo = baseInfo;
  }

  /**
   * 卡券高级信息
   * 
   * @return
   */
  public AdvancedInfo getAdvancedInfo() {
    return advancedInfo;
  }

  public void setAdvancedInfo(AdvancedInfo advancedInfo) {
    this.advancedInfo = advancedInfo;
  }

}
